// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.asm;

import org.objectweb.asm.ClassVisitor;

/**
 * Class finder.
 * 
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public interface ClassFinder {
  /**
   * Finds class for given name and accepts given visitor on it. If not found,
   * an exception is thrown.
   * 
   * @param className internal class name
   * @param visitor visitor of found class
   */
  void findClass(String className, ClassVisitor visitor);
}
